<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>bootstrap导航和滑动门</title>
    <link rel="stylesheet" href="../css/bootstrap.css">
</head>
<style>
    main {
        margin: 1%;
        padding: 1%;
    }
</style>

<body>

    <main>
        <div class="nav nav-pills">
            <a href="#one" data-toggle="tab" class="nav-item nav-link">首页</a>
            <a href="#two" data-toggle="tab" class="nav-item nav-link">选项</a>
            <a href="#three" data-toggle="tab" class="nav-item nav-link">咨询</a>
            <a href="#four" data-toggle="tab" class="nav-item nav-link">关于</a>
        </div>
        <div class="tab-content">
            <div class="tab-pane fade show active" id="one">首页内容......</div>
            <div class="tab-pane fade" id="two">选项内容......</div>
            <div class="tab-pane fade" id="three">咨询内容......</div>
            <div class="tab-pane fade" id="four">关于内容......</div>
        </div>
    </main>


    <script src="../js/jquery.min.js"></script>
    <script src="../js/bootstrap.js"></script>
</body>

</html>